package Com.amit.Exception;

public class Lab15 {
	
	public static void m1()
	{
		throw new ArithmeticException();
	}
	
	public static void n1()
	{
		m1();
	}
public static void  n2()
{
	n1();
}
	

public static void main(String[] args) {
		
		try
		{
		n2();
		}
		catch (Exception e) {
			System.out.println("Exception handled");
			
			//e.printStackTrace();
		}
		System.out.println("Rest of code");
		
		
		

	}

}
